<template>
  <div>
    <el-tabs v-model="activeName" @tab-click="handleClick">
      <el-tab-pane label="活动记录" name="first">
        <activities />
      </el-tab-pane>
      <el-tab-pane label="预约记录" name="second">
        <reservation />
      </el-tab-pane>
      <el-tab-pane label="采样记录" name="third">
        <Sample />
      </el-tab-pane>
    </el-tabs>
  </div>
</template>

<script>

import Reservation from "../../components/Reservation";
import Sample from "../../components/Sample";
import Activities from "../../components/Activities";

export default {
  data() {
    return {
      activeName: 'first',
      params:{
        pageNum:1,
        pageSize:10
      },
      result:[]
    }
  },
  components: {
    Reservation,
    Sample,
    Activities
  },
  methods: {
    handleClick(tab, event) {
      console.log(tab, event);
    },
  }
}
</script>

<style>
</style>
